import axios from 'axios'
export default{
    getSubjects:data=>axios.get('/subjects/getSubjects',{params:data}),
    addSubjects:data=>axios.post('/subjects/addSubjects',data),
    deleteSubjects:_id=>axios.delete('/subjects/deleteSubjects',{data:{_id}})
}